package io.github.loserYa.config;

import io.github.loserYa.utils.RabbitMqUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;

@Configuration
public class UtilsConfiguration {

    @Bean
    public RabbitMqUtil rabbitMqUtil(Environment environment) {
        return new RabbitMqUtil(environment);
    }

}
